The
ANIMApplet shows Amiga IFF ANIM animations and IFF IBLM images on Java SE 5 capable Internet browsers.
Needs a Java 1.5 capable internet browser.
The program code of the applet is packaged into a single archive file named
ANIMApplet.jar.
| Parameter |
Required |
Type |
Description |
|
| code |
required |
text |
The code attribute lets the browser know which Java class it must
use to show the applet. The value must be "ANIMApplet.class".
|
| codebase |
|
text |
You can use the codebase attribue to tell the browser in which directory the animapplet.jar file is located.
If you specify a relative URL, then it's interpreted relative to the HTML document's
location. By specifying an absoluteURL, you can load the applet from just about
anywhere - even from a different HTTP server.
Please note that due to security restrictions: The ANIM-files must be in the
same directory-subtree where the animapplet.jar file is located.
|
| archive |
required |
text |
The archive attribute indicates the file where the Java
program code is stored. Please note that on most web-servers the case of this
value must match the case of the file name
"ANIMApplet.jar".
If you specify the parameters for Sun's Java plug-in, you have to store the file "ANIMApplet.jar.pack.gz" in the same directory where you stored "ANIMApplet.jar".
|
| width |
required |
number |
Width and height of the applet.
Add 16 pixels to the height
of the animation
to accomodate enough space for the control panel.
Tip: Use the "info" parameter to determine the best
width and
height of ANIMApplet for your animation.
|
| height |
required |
number |
|
| animSource |
|
url |
The animSource parameter specifies the directory where the
animation file is stored. Please omit this parameter if you store
the animation file at the same location as the file "animapplet.jar".
Pleas note that, due to security
restrictions, an applet may access only files
that are located on the same directory subtree where the applet
code is stored.
|
| animArchive |
|
url |
The imageArchive parameter indicates the .zip-File that contains the
ANIM-File. Zipping greatly reduces the download time of your animation.
Do not specify this line when you don't zip the animation file.
|
| anim |
required |
filename |
The file-name of the IFF ANIM animation file or of the IFF ILBM image.
|
|
| boxBgColor |
|
color |
This parameter specifies the background color for any space thatis
not taken by the animation (e. g. before the first frame of the animation
is
loaded). Specify a hex value (e. g. "0xff0000" or "#ff0000"), three RGB
values (e.g. "255,0,0") or an HTML color name (e.g. "red"). The default
value depends on the
browser settings.
If the browser uses the Java Plug-In from Sun, this color will be shown while
the applet is being loaded.
Tip: This value should match the background color of your HTML page.
|
| boxFgColor |
|
color |
This parameter specifies the foreground color for messages
displayed on the applet.
Specify a hex value (e. g. "0xff0000" or "#ff0000"),
three RGB values (e.g. "255,0,0") or an HTML color name (e.g. "red").
The default value depends on the
browser settings.
If the browser uses the Java Plug-In from Sun, this color will
be used for messages displayed while the applet is being
loaded.
|
| boxMessage |
|
text |
If the browsers uses the Java Plug-In from Sun, this parameter specifies
a message that is shown while the applet is being loaded. |
| image |
|
url |
If the browsers uses the Java Plug-In from Sun, this parameter specifies
the image being shown while the applet is being loaded.
This is often referred to as a "splash screen". The image should have the
same size as specified by the "width" and "height" attributes. |
|
| scale |
|
variant |
"scale" is either "toFit", "aspect" or a (fractional) number.
By default the value of "scale" is "toFit".
If set to "toFit", the
animation is scaled to fit the size of the applet as specified by the
"height" and "width" attributes (note: the controller occupies 16 pixels of the height).
If this is set to "aspect", the movie will
scale to fit the size of the applet while maintaining its aspect ratio.
If this is set to a (fractional) number, the movie will be scaled by that number (e.g. 1.5).
|
| framesPerSecond |
|
number |
If specified overrides the frame delay settings in the animation file.
The value "0" is default and hence uses the time settings
from the animation file. Supports fractional values.
|
| playEveryFrame |
|
boolean |
By default, this parameter is set to "false". When set to "true",
causes the applet to play every frame of the animaton even if it is
necessary to play at a slower rate to do so. This attribute isparticularly useful to play short fast looping animations.
|
| playWrapupFrames |
|
boolean |
A well formed IFF ANIM file contains two wrapup frames (images) at the
end of the file. The wrapup frames are identical with the first two frames
of the animation. They are required to do fast looping animations.
Setting this parameter to "true" makes ANIMApplet treat the wrapup frames
like regular frames. That is, the animation is treated as if it had two additional
frames.
The default value is "false".
|
| renderAsTrueColor |
|
boolean |
When set to "true", ANIMApplet renders the video using a 24 bit direct
color model regardless of the color model used by the animation.
The default
value is "true". |
|
| blendColorCycles |
|
boolean |
When set to "true", colors in a color cycle are blended into each other instead of being shifted in discrete steps.
The default
value is "false". |
| audio |
|
boolean |
When this is set to "false", the applet does not load audio data from
the file. The default value is "true". |
|
| colorCycling |
|
boolean |
When this is set to "false", the applet does not start plaiyng the color cycling. The default value is "true". |
| controller |
|
boolean |
If "controller" is set to "false", the control panel will not display.
The default is "true". To avoid distortion of the animation you should
add 16 pixels to the height attribute when the control panel
is displayed.
|
| autoPlay |
|
boolean |
When set to "true", the autoPlay parameter causes the animation
to start playing as soon as the applet estimates that it will be able to play
the entire movie without waiting for additional data. This version of ANIMApplet
will start playing only after
downloading the whole animation file. The default value is "true".
|
| loop |
|
boolean |
By default, "loop" is set to "true". When set to
true, the "loop" parameter
makes the animation play continuously. |
| pingPong |
|
boolean |
By default, "pingPong" is set to "false". When set
to true, the "pingPong"
parameter makes the animation play forth and back. This will work only for animations
that are encoded using Eric Graham's compression mode 'J' delta frames which
are XOR encoded.
|
|
| info |
|
boolean |
Set this parameter to "true" to display information about the animation.
This information is useful to determine the preferred size of ANIMApplet. |
| debug |
|
boolean |
Set this parameter to "true" to display debug information on each frame of
the animation.
This parameter is useful if you think that ANIMApplet does not display
your animation properly. |